﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sys.Common
{
    /// <summary>
    /// 全局配置
    /// </summary>
    public static class Config
    {
        /// <summary>
        /// 图片最大宽度
        /// </summary>
        public static int ImageMaxWidth { get { return 600; } }

        /// <summary>
        /// 文件最大限制(字节)
        /// </summary>
        public static int UploadMaxSize { get { return 10000000; } }

        /// <summary>
        /// 文件上传目录
        /// </summary>
        public static string FileUploadPath { get { return "userfiles"; } }
    }
}
